package com.jstyle.jclife.model;

import com.jstyle.blesdk.model.NotifierType;
import com.jstyle.jclife.R;

import java.io.Serializable;

/**
 * Created by Administrator on 2019/3/28.
 */

public abstract class JstyleDevice implements Serializable {
    private static final long serialVersionUID = -5565;
    public static  String device_1755="1755";
    public static  String device_1751="venucia";
    public static  String device_1860="1860";
    public static  String device_1790="1790";
    public static  String device_1810="1810";
    public static  String device_1929="1929";
    public static  String device_healy="healy watch";
    int hrvLength;
    int activityLength;

    public JstyleDevice(){

    }
    public int getHrvLength() {
        return hrvLength;
    }

    public void setHrvLength(int hrvLength) {
        this.hrvLength = hrvLength;
    }

    public int getActivityLength() {
        return activityLength;
    }

    public void setActivityLength(int activityLength) {
        this.activityLength = activityLength;
    }

    String deviceNo;
   // int deviceNameId;

   // int deviceSelectedDrawableId;
   // int serachDeviceDrawableId;
   // int deviceListDrawableId;
    int connectDrawableId;
   // int disconnectDrawableId;
//    int connectHomeDrawableId;
//    int disconnectHomeDrawableId;
    String filterName;
    String updateNo;//查询固件版本号
    String address;
    NotifierType notifierType;

    public NotifierType getNotifierType() {
        return notifierType;
    }
    public String getUpdateNo() {
        return updateNo;
    }

    public void setUpdateNo(String updateNo) {
        this.updateNo = updateNo;
    }

    public int getConnectDrawableId() {
        return connectDrawableId;
    }

    public void setConnectDrawableId(int connectDrawableId) {
        this.connectDrawableId = connectDrawableId;
    }

//    public int getDisconnectDrawableId() {
//        return disconnectDrawableId;
//    }
//
//    public void setDisconnectDrawableId(int disconnectDrawableId) {
//        this.disconnectDrawableId = disconnectDrawableId;
//    }

//    public int getConnectHomeDrawableId() {
//        return connectHomeDrawableId;
//    }
//
//    public void setConnectHomeDrawableId(int connectHomeDrawableId) {
//        this.connectHomeDrawableId = connectHomeDrawableId;
//    }
//
//    public int getDisconnectHomeDrawableId() {
//        return disconnectHomeDrawableId;
//    }
//
//    public void setDisconnectHomeDrawableId(int disconnectHomeDrawableId) {
//        this.disconnectHomeDrawableId = disconnectHomeDrawableId;
//    }

    public String getDeviceNo() {
        return deviceNo;
    }

    public void setDeviceNo(String deviceNo) {
        this.deviceNo = deviceNo;
    }

//    public int getDeviceNameId() {
//        return deviceNameId;
//    }
//
//    public void setDeviceNameId(int deviceNameId) {
//        this.deviceNameId = deviceNameId;
//    }

//    public int getDeviceDescriptorId() {
//        return deviceDescriptorId;
//    }
//
//    public void setDeviceDescriptorId(int deviceDescriptorId) {
//        this.deviceDescriptorId = deviceDescriptorId;
//    }

//    public int getDeviceSelectedDrawableId() {
//        return deviceSelectedDrawableId;
//    }
//
//    public void setDeviceSelectedDrawableId(int deviceSelectedDrawableId) {
//        this.deviceSelectedDrawableId = deviceSelectedDrawableId;
//    }

//    public int getSerachDeviceDrawableId() {
//        return serachDeviceDrawableId;
//    }
//
//    public void setSerachDeviceDrawableId(int serachDeviceDrawableId) {
//        this.serachDeviceDrawableId = serachDeviceDrawableId;
//    }

//    public int getDeviceListDrawableId() {
//        return deviceListDrawableId;
//    }
//
//    public void setDeviceListDrawableId(int deviceListDrawableId) {
//        this.deviceListDrawableId = deviceListDrawableId;
//    }

    public String getFilterName() {
        return filterName;
    }

    public void setFilterName(String filterName) {
        this.filterName = filterName;
    }

    public abstract boolean isNeedGpsUpdate();
}
